<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/WEB-INF/vectrics.tld" prefix="vectrics"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>


<jsp:useBean id="locationForm"
	class="org.vectrics.recruiter.struts.admin.LocationForm"
	scope="request" />

<vectrics:errors debug="false" />


<html:form action="/admin/location/new/save" method="POST" focus="name">
	<table>
		<tr>
			<td valign="TOP">
				<table width="600" cellpadding="4" cellspacing="1">
					<tr>
						<td class="formBg1" valign="top" width="50%"><font
							class="formLabelClass"><bean:message
									key="prompt.location.name" /><b> *</b>
						</font> <vectrics:errors property="name" /></td>
						<td class="formBg1" valign="top" width="50%"><html:text
								property="name" styleClass="formEditClass" maxlength="100" /></td>
					</tr>
					<tr>
						<td class="formBg2" valign="top" width="50%"><font
							class="formLabelClass"><bean:message
									key="prompt.location.description" />
						</font> <vectrics:errors property="description" /></td>
						<td class="formBg2" valign="top" width="50%"><html:text
								property="description" styleClass="formEditClass"
								maxlength="100" /></td>
					</tr>
					<tr>
						<td class="formBg2" valign="top" width="50%"><font
							class="formLabelClass"><bean:message
									key="prompt.location.abbreviation" />
						</font> <vectrics:errors property="abbreviation" /></td>
						<td class="formBg2" valign="top" width="50%"><html:text
								property="abbreviation" styleClass="formEditClass"
								maxlength="50" /></td>
					</tr>
					<tr>
						<td valign="TOP" align="left"></td>
						<td valign="TOP" align="left"><vectrics:formButton
								elementId="ok.btn" code="button.ok" phraseCode="button.ok"
								value="submit" name="submit" />&nbsp; <vectrics:formButton
								elementId="cancel.btn" code="button.cancel"
								phraseCode="button.cancel" value="cancel" name="cancel" /></td>
					</tr>
				</table></td>
		</tr>
	</table>
</html:form>